String Abstractions for String Verification

نویسندگان

  • Fang Yu
  • Tevfik Bultan
  • Ben Hardekopf
چکیده

Verifying string manipulating programs is a crucial problem in computer security. String operations are used extensively within web applications to manipulate user input, and their erroneous use is the most common cause of security vulnerabilities in web applications. Unfortunately, verifying string manipulating programs is an undecidable problem in general and any approximate string analysis technique has an inherent tension between efficiency and precision. In this paper we present a set of sound abstractions for strings and string operations that allow for both efficient and precise verification of string manipulating programs. Particularly, we are able to verify properties that involve implicit relations among string variables. We first describe an abstraction called regular abstraction which enables us to perform string analysis using multi-track automata as a symbolic representation. We then introduce two other abstractions—alphabet abstraction and relation abstraction—that can be used in combination to tune the analysis precision and efficiency. We show that these abstractions form an abstraction lattice that generalizes the string analysis techniques studied previously in isolation, such as size analysis or non-relational string analysis. Finally, we empirically evaluate the effectiveness of these abstraction techniques with respect to several benchmarks and an open source application, demonstrating that our techniques can improve the performance without loss of accuracy of the analysis when a suitable abstraction class is selected.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Mechanical Model and its Experimental Verification for a Water Injection String in a Highly Deviated Well

Water injection strings in highly deviated wells are subjected to complex forces on the string bore. In this work, a mechanical model is developed for these forces and for those on downhole tools. On the basis of this model, and taking account of the characteristics of the string in different working conditions, a temperature field model and a pressure field model are introduced, and a statical...

متن کامل

Asymptotic Approximations of the Solution for a Traveling String under Boundary Damping

Transversal vibrations of an axially moving string under boundary damping are investigated. Mathematically, it represents a homogenous linear partial differential equation subject to nonhomogeneous boundary conditions. The string is moving with a relatively (low) constant speed, which is considered to be positive.  The string is kept fixed at the first end, while the other end is tied with the ...

متن کامل

انتخاب کوچکترین ابر رشته در DNA با استفاده از الگوریتم ازدحام ذرّات

A DNA string can be supposed a very long string on alphabet with 4 letters. Numerous scientists attempt in decoding of this string. since this string is very long , a shorter section of it that have overlapping on each other will be decoded .There is no information for the right position of these sections on main DNA string. It seems that the shortest string (substring of the main DNA string) i...

متن کامل

Nonlinear Dynamics of the Rotational Slender Axially Moving String with Simply Supported Conditions

In this research, dynamic analysis of the rotational slender axially moving string is investigated. String assumed as Euler Bernoulli beam. The axial motion of the string, gyroscopic force and mass eccentricity were considered in the study. Equations of motion are derived using Hamilton’s principle, resulting in two partial differential equations for the transverse motions. The equations are ch...

متن کامل

اثرات کوانتومی خلأ برای یک ریسمان بوزونی جرم‌دار در حضور میدان پس‌زمینه

We study the Casimir effect for a Bosonic string extended between D-branes, and living in a flat space with an antisymmetric background B-field. We find the Casimir energy as a function of the B-field, and the mass-parameter of the string, and accordingly we obtain a B-dependence correction term to the ground-state mass of the string. We show that for sufficiently large B-field, the ground stat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011